import request from "@/utils/request"

export default {
    getOrderByUserId(id) {
        return request({
            url: `weddingadmin/order/getOrderByUserId/${id}`,
            method: 'GET',
        })
    },
    getOrderPageVo(currentPage, size, id) {
        return request({
            url: `weddingadmin/order/getOrderPageVo/${currentPage}/${size}/${id}`,
            method: 'GET',
        })
    },
    addOrder(userId, activityId) {
        return request({
            url: `weddingadmin/order/addOrder/${userId}/${activityId}`,
            method: 'GET',
        })
    }
}